{include file=$header_start}
{include file=$header_end}
{strip}
<link rel="stylesheet" type="text/css" href="{$siteroot}/templates/default/style/dashboard.css">
{/strip}
   <!-- MIDDLE CONTAIN GOES HERE -->
<section class="middle_portion">
	<section class="inner_head">Dashboard</section>
    <section class="inner_containstart">
    	<!-- dashboard Left Content Start -->
        	{include file=$cms_left_content}
        <!-- dashboard Left Content End -->
        <!-- dashboard Right Content Start -->
        	<section class="dash_right">
            {if $msg}{$msg}{/if}
            	<section class="title_box">
                    <h4>Basic Profile</h4>
                    <section class="edit_txt_box"><a href="{$siteroot}/myaccount/editprofile/">Edit</a></section>
                    <section class="clear"></section>
                </section>
                <section class="profile_wrapp editprofilecs">
                    <dl>
                        <dt><label>First Name :  </label></dt>
                        <dd>{$userDetArray.first_name|ucfirst}</dd>
                        <section class="clear"></section>
                    </dl>
                    <dl>
                        <dt><label>Last Name : </label></dt>
                        <dd>{$userDetArray.last_name|ucfirst}</dd>
                        <section class="clear"></section>
                    </dl>
                    <dl>
                        <dt><label>Email : </label></dt>
                        <dd>{$userDetArray.email}</dd>
                        <section class="clear"></section>
                    </dl>
                    <dl>
                        <dt><label>Phone : </label></dt>
                        <dd>{$userDetArray.phone_number}</dd>
                        <section class="clear"></section>
                    </dl>
                    <dl>
                        <dt><label>Zip code : </label></dt>
                        <dd>{$userDetArray.postalcode}</dd>
                        <section class="clear"></section>
                    </dl>
                    
                    <section class="clear"></section>
                    <dl>
                        <dt><label>Business name : </label></dt>
                        <dd>{$userDetArray.business_name}</dd>
                        <section class="clear"></section>
                    </dl>
                    <dl>
                        <dt><label>Industry : </label></dt>
                        <dd>{$userDetArray.industry}</dd>
                        <section class="clear"></section>
                    </dl>
                    
                    <section class="clear"></section>
                     <dl>
                        <dt><label>ABN : </label></dt>
                        <dd>{$userDetArray.abn}</dd>
                        <section class="clear"></section>
                    </dl>
                    <dl>
                        <dt><label>ACN : </label></dt>
                        <dd>{$userDetArray.acn}</dd>
                        <section class="clear"></section>
                    </dl>
                    {if $smarty.session.user_type eq '4'}
                    <dl>
                        <dt><label>Location : </label></dt>
                        <dd>{$getpostalcodedetail.suburb}</dd>
                        <section class="clear"></section>
                    </dl>
                     <dl>
                        <dt><label>Radius : </label></dt>
                        <dd>{$userDetArray.radius} kilometer</dd>
                        <section class="clear"></section>
                    </dl>
                    <dl>
                        <dt><label>Company Name : </label></dt>
                        <dd>{$userDetArray.companyname}</dd>
                        <section class="clear"></section>
                    </dl>
                    {if $userDetArray.companydescription}
                    <dl>
                        <dt><label>Company description : </label></dt>
                        <dd>{$userDetArray.companydescription}</dd>
                        <section class="clear"></section>
                    </dl>
                    
                     <section class="clear"></section>
                     <dl>
                        <dt><label>ABN : </label></dt>
                        <dd>{$userDetArray.abn}</dd>
                        <section class="clear"></section>
                    </dl>
                    <dl>
                        <dt><label>ACN : </label></dt>
                        <dd>{$userDetArray.acn}</dd>
                        <section class="clear"></section>
                    </dl>
                    
                    {/if}
                    <dl>
                        <dt><label>Company logo : </label></dt>
                        <dd>{if $userDetArray.companylogo}
                                <img src="{$siteroot}/includes/image.php?width=150&amp;height=150&amp;image={$siteroot}/uploads/company/{$userDetArray.companylogo}" title="company logo" alt="company logo"/>
                         	{else}	
                            	<img src="{$siteroot}/uploads/company/defaultcomopany.jpg" height="150px" width="150px"  />
                            {/if}       
                         </dd>
                        <section class="clear"></section>
                    </dl>
                      {if $userDetArray.about_me}
                    <dl>
                        <dt><label>About Me : </label></dt>
                        <dd>{$userDetArray.about_me}</dd>
                        <section class="clear"></section>
                    </dl>
                    {/if}
                     {if $userDetArray.workhistory}
                    <dl>
                        <dt><label>Work History : </label></dt>
                        <dd>{$userDetArray.workhistory}</dd>
                        <section class="clear"></section>
                    </dl>
                    {/if}
                     {if $userDetArray.qual_accred}
                    <dl>
                        <dt><label>Qualifications & Accreditations : </label></dt>
                        <dd>{$userDetArray.qual_accred}</dd>
                        <section class="clear"></section>
                    </dl>
                    {/if}
					
				{/if}
                </section>
            	                              
                
            </section>
        <!-- dashboard Right Content End -->
        	<section class="clear"></section>
    </section>
</section>
{include file=$footer}
